package com.liuya.common.exception;

import com.liuya.common.support.HttpCode;

/**
 * 业务异常
 *
 * @author liuya
 * @date 20160824
 */
public class BusinessException extends BaseException {
    public BusinessException() {
    }

    public BusinessException(Throwable ex) {
        super(ex);
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Throwable ex) {
        super(message, ex);
    }

    protected HttpCode getHttpCode() {
        return HttpCode.CONFLICT;
    }
}
